package common;

public interface IGrid {
  
  /**
   * Gets the temperature in the cell specified by 
   * the x and y coordinates
   */
  public double getTemperature(int x, int y);
  
  /**
   * Gets the height of the cell at the specified coordinates. There is no 
   * getCellWidth because the model calculates cells as trapezoids but the 
   * view shows them as rectangles.
   */
  public int getCellHeight(int x, int y);
  
  /**
   * Number of cells in the Y dimension of the grid
   */
  public int getNumCellsY();
  
  /**
   * Number of cells in the X dimension of the grid
   */
  public int getNumCellsX();
}
